<?php 
include TMPL_PATH.'public/header.phtml';
?>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
        <a href='javascript:;' class="on"><em>评论列表</em></a>
        <a href='javascript:;' class="on" ><em>评论回复</em></a></div>
</div>
<div class="pad_10">
<div class="common-form">
<form action="__SELF__" method="post" id="myform">
<table width="100%" class="table_form contentWrap">
<tr>
<td width="80">设计师</td> 
<td><?php echo $comment['designer_user_name'];?></td>
</tr>
<tr>
<td width="80">评论人名称</td> 
<td><?php echo $comment['username'];?></td>
</tr>
<tr>
<td>评论作品</td>
<td><?php echo $comment['designer_name'];?></td>
</tr>
<tr>
<td>评论类型</td>
<td><?php echo $comment['comment_type'];?></td>
</tr>
<tr>
<td>评论人IP</td>
<td><?php echo $comment['ip'];?></td>
</tr>
<tr>
<td>评论时间</td>
<td><?php echo date('Y-m-d H:i:s', $comment['comment_time']);?></td>
</tr>
<tr>
<td>评论内容</td>
<td><?php echo $comment['content'];?></td>
</tr>

<tr>
<td>评论状态</td>
<td><input type="radio" name="disabled" value="1" <?php if($comment['disabled']==1)echo 'checked';?>> 显示 
<input type="radio" name="disabled" value="0" <?php if($comment['disabled']==0)echo 'checked';?>> 隐藏</td>
</tr>
<?php if($comment['reply_time']){?>
<tr>
<td>回复时间</td>
<td><?php echo date('Y-m-d H:i:s', $comment['reply_time']);?></td>
</tr>
<?php }?>
<tr>
<td>留言回复：</td>
<td><textarea name="reply_content" cols="50" rows="5" style="width: 595px; height: 100px;"><?php echo $comment['reply_content']?></textarea></td>
</tr>
</table>

    <div class="bk15"></div>
    <input name="dosubmit" type="submit" value="提交" class="button">
</form>
</div>
</div>
</body>
</html>